#!/bin/sh

if [ -d /proc/scsi/usb-storage ];
then
#
echo "found /proc/scsi/usb-storage"
#
mkdir /run/media/sda1/log
cp /home/root/log/* /run/media/sda1/log

#
cp /run/media/sda1/EttaM1.tar /home/root
cd /home/root
tar xvf EttaM1.tar
cp EttaM1 /usr/bin/matrix_browser

else
echo "no found /proc/scsi/usb-storage"
fi

#mount /dev/sda1 /mnt
